package xunhuan;
//按顺序打印1-5，按顺序打印5-1
public class test2 {
    public static void main(String[] args) {
        for (int i = 1 ; i<=5 ; i++){
            System.out.println(i);
        }
        for (int i = 5 ; i>=1 ; i--){
            System.out.println(i);
        }
    }
}
